	%\tracingmacros=2 \tracingcommands=2

	\pgfplotsset{
		mesh/color input=explicit,
		nodes near coords={(\coordindex)},
	}
	\begin{tikzpicture}
	\begin{axis}[title=Rectangle from patch input]
	\addplot3[patch,,patch
	type=rectangle] coordinates {
		(0,0,1) [color=red]
		(1,0,0) [color=yellow]
		(1,1,0) [color=green]
		(0,1,0) [color=blue]
	};
	\end{axis}
	\end{tikzpicture}
	%
	\begin{tikzpicture}
	\begin{axis}[
		title=Bilinear from $4$--point patch input]
	\addplot3[patch,,patch type=bilinear]
	coordinates {
		(0,0,1) [color=red]
		(1,0,0) [color=yellow]
		(1,1,0) [color=green]
		(0,1,0) [color=blue]
	};
	\end{axis}
	\end{tikzpicture}

	\begin{tikzpicture}
	\begin{axis}[enlargelimits,
		title=Single Triangle patch]
	\addplot3[patch,] coordinates {
		(0,0,1) [color=red]
		(1,0,0) [color=green]
		(1,1,0) [color=blue]
	};
	\end{axis}
	\end{tikzpicture}
	%
	\begin{tikzpicture}
	\begin{axis}[
		title=Quadratic Triangle]
	\addplot[patch,patch type=triangle quadr,
		]
	coordinates {
		(0,0) [color=red] (5,4) [color=green] (0,7) [color=blue]
		(2,3) [color=teal] (3,6) [color=olive] (-1,4) [color=olive]
	};
	\end{axis}
	\end{tikzpicture}

	\begin{tikzpicture}
	\begin{axis}[
		title=Single Biquadratic Quadrilateral]
	\addplot[patch,patch type=biquadratic,
		]
	coordinates {
		(0,0) [color=red] (6,1) [color=green] (5,5) [color=blue] (-1,5) [color=yellow]
		(3,1) [color=cyan] (6,3) [color=brown] (2,6) [color=lime] (0,3) [color=olive]
		(3,3.75) [color=magenta]
	};
	\end{axis}
	\end{tikzpicture}
	%
	%
	\begin{tikzpicture}
	\begin{axis}[
	patch refines=0, % NOT IMPLEMENTED
		title=Single Bicubic Quadrilateral]
	\addplot3[patch,patch type=bicubic,]
	coordinates {
		(0,0,1) [color=red] (1,0,0) [color=green] (2,0,0) [color=cyan] (3,0,0) [color=blue]
		(0,1,0) [color=red] (1,1,0) [color=teal] (2,1,0) [color=red] (3,1,0)
		(0,2,0) [color=pink] (1,2,0) [color=violet] (2,2,0) [color=red] (3,2,0)
		(0,3,0) [color=yellow] (1,3,0) [color=orange] (2,3,0) [color=olive] (3,3,0) [color=cyan]
	};
	\end{axis}
	\end{tikzpicture}
%
